package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import www.woniuxy.com.class112.dto.WorkEntourageDto;
import www.woniuxy.com.class112.entity.WorkEntourage;
import www.woniuxy.com.class112.entity.WorkEntourageExample;

public interface WorkEntourageMapper {
    long countByExample(WorkEntourageExample example);

    int deleteByExample(WorkEntourageExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WorkEntourage record);

    int insertSelective(WorkEntourage record);

    List<WorkEntourage> selectByExample(WorkEntourageExample example);

    WorkEntourage selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WorkEntourage record, @Param("example") WorkEntourageExample example);

    int updateByExample(@Param("record") WorkEntourage record, @Param("example") WorkEntourageExample example);

    int updateByPrimaryKeySelective(WorkEntourage record);

    int updateByPrimaryKey(WorkEntourage record);

    List<WorkEntourageDto> selectByWorkId(Long id);
}